package com.damai.js.impl;

import org.quartz.JobExecutionContext;
import org.quartz.JobExecutionException;

import com.damai.js.JsUtil;
import com.damai.plugins.BaseJob;

public class JsJob extends BaseJob {

	
	
	
	@Override
	protected void doJob(JobExecutionContext context) throws JobExecutionException {
		String content = context.getMergedJobDataMap().getString("content");
		JsUtil.execute(content);
	}

}
